package sl.sl23;

import sl.sl2.dao.UserDao;
import sl.sl2.pojo.User;
import sl.sl2.service.UserService;

import javax.annotation.Resource;

public class UserServiceImpl implements UserService {

    @Resource
    private UserDao dao;

    /**
     * 保存用户信息
     *
     * @param user
     */
    @Override
    public void save(User user) {
        dao.save(user);
    }

}
